home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1997 January
/
Macworld (1997-01).dmg
/
Shareware World
/
Utilities
/
Data & Time Management
/
MacCalendar
/
Design Decisions
< prev
next >
Wrap
Text File
|
1994-10-20
|
3KB
|
66 lines
MacCalendar - Control Strip sample
Copyright © 1994, Apple Computer Inc. All Rights Reserved.
This note describes the decisions behind MacCalendar's
human interface (or lack of same).
MacCalendar is a Control Strip module that can be installed
on PowerBooks (and other Macintosh models that support the
Control Strip Control Panel) by copying MacCalendar into the
Control Strip folder inside the System Folder and restarting
the Macintosh.
MacCalendar Setup is a normal Macintosh application that
configures MacCalendar by letting the user select the font,
font size, and some national-specific information: the names
of the days of the week and whether Sunday or Monday is the
first (left most) day of the week.
Design decisions:
1. The calendar is displayed only while the mouse is held down.
This seems inherent in the Control Strip interface: It is unclear
who would "own" a window that behaved in a non-modal manner.
Since there are a number of applications that provide a calendar
in a window, this seemed like a reasonable limitation. Revising
it so that the window was independent of the Control Strip might
require changes to the Control Strip manager design.
2. Black/white only. Adding color would be fairly simple, but it
would increase the System Heap code size. Is it important?
If so, what is the best way to configure the color?
3. Configuration by a separate application. This minimizes
interface-clutter (option-click to configure?). My own experience
is that you set it once and then don't bother to set it again.
4. Configuration changes require restart. This seems to be a
limitation of the Control Strip, as modules contain a private
storage area. Premitting changes would require the Control Strip
module to periodically re-examine the preference file, which
would be unacceptable on a battery-powered system. Another
possibility would be to use a signalling mechanism, but none
is provided by the Control Strip manager, and, again, it doesn't
seem to be worth the effort in the real-world, especially since
you can preview changes in the setup program.
5. Setup program font size selection. I didn't add a custom size
value because it doesn't fit well within the popup-list control
manager design. It would be easy to do (or I could do away with
the popup-list and only use a dialog entry). The choices seem
to be reasonable both for normal vision people and people who
need large typefaces.
6. Install/restart needed before the setup program runs.
This just simplifies the program, and keeps it from running if
the MacCalendar module is not installed. Note that the preferences
are managed by the Control Strip manager: they are not stored
in a separate file.
7. Help via balloon help. Is help really needed for such a
simple program?
Written by Martin Minow, MACDTS.
minow@apple.com
AppleLink: MINOW, DEVSUPPORT